<template>
  <el-table
      :data="dataList"
      style="width: 100%">
    <el-table-column
        prop="dischargeBase.slabNo"
        label="钢坯号"
        width="180">
    </el-table-column>
    <el-table-column
        prop="dischargeBase.timeCharge"
        label="装炉时刻"
        width="180">
    </el-table-column>
    <el-table-column
        prop="dischargeBase.timeDischarge"
        label="出炉时刻"
        width="180">
    </el-table-column>
    <el-table-column
        prop="dischargeEnergy.ucTotal"
        label="单耗（GJ/t）">
    </el-table-column>
    <el-table-column
        prop="dischargeEnergy.ucTotalCube"
        label="单耗（m³）">
    </el-table-column>
    <el-table-column
        prop="dischargeTemp.ftSec1"
        label="预热段炉温">
    </el-table-column>
    <el-table-column
        prop="dischargeTemp.stInSec2"
        label="一加段钢温">
    </el-table-column>
  </el-table>
</template>


<script>
import {getPage} from '@/api/slab'
export default {
  name: "",
  data() {
    return {
      dataList: []
    }
  },
  methods: {
    go() {
      const data = {
        page: 1,
        size: 10,
        lineNo: 1,
        startDate: '2025-05-01',
        endDate: '2025-06-02'
      }
      getPage(data).then(res => {
        console.log("jieguo",res)
        this.dataList = res.data.records;
        console.log("dataList",this.dataList)
      })
    }
  },
  mounted() {
    this.go();
  }
}
</script>

<style scoped>

</style>